from django.shortcuts import render_to_response

from hierodaaro.models import Guide

def overview(request, guide_id):
    #guide = Guide("Rianne", "Rotterdam", "Zuid-Holland", "02-2013", 3)
    #guide.description = "Hoi! Ik ben Rianne. Dit is het tekstje voor de box van de bla"
    
    try:
        guide = Guide.objects.get(id=guide_id)
    except Guide.DoesNotExist:
        guide = None

    context = {
        'guide': guide,
        'xrange': xrange(10),
    }
    return render_to_response('guide_overview.html', context)

